package smcms.service.sso.service;

import com.github.pagehelper.PageInfo;
import smcms.commons.api.entity.result.CommonsResult;
import smcms.service.sso.entity.AccountReq;
import smcms.service.sso.entity.StaffInfoReq;
import smcms.service.sso.entity.StaffInfoResp;
import smcms.service.sso.entity.SysMenuResp;

import java.util.List;

public interface UserLoginService {
    List<SysMenuResp> hasMenu(String username);

    void UserRegister(AccountReq accountReq);

    StaffInfoResp getUserInfo(String username);

    CommonsResult updateUserInfo(StaffInfoReq staffInfoReq);

    PageInfo<StaffInfoResp> queryStaffList(StaffInfoReq staffInfoReq);

    List<StaffInfoResp> getStaffListByRole(StaffInfoReq staffInfoReq);
}
